package com.eshop.modules.customer.vo;

import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(description = "订单通知用户表")
public class CustomerVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("openId")
    private String openId;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("创建时间 创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间 最后更新时间")
    private Date updateTime;
    
    public Long getId() {
        return this.id;
    }
    
    public String getNickName() {
        return this.nickName;
    }
    
    public String getOpenId() {
        return this.openId;
    }
    
    public String getRemark() {
        return this.remark;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setNickName(final String nickName) {
        this.nickName = nickName;
    }
    
    public void setOpenId(final String openId) {
        this.openId = openId;
    }
    
    public void setRemark(final String remark) {
        this.remark = remark;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof CustomerVo)) {
            return false;
        }
        final CustomerVo other = (CustomerVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$nickName = this.getNickName();
        final Object other$nickName = other.getNickName();
        Label_0102: {
            if (this$nickName == null) {
                if (other$nickName == null) {
                    break Label_0102;
                }
            }
            else if (this$nickName.equals(other$nickName)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$openId = this.getOpenId();
        final Object other$openId = other.getOpenId();
        Label_0139: {
            if (this$openId == null) {
                if (other$openId == null) {
                    break Label_0139;
                }
            }
            else if (this$openId.equals(other$openId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$remark = this.getRemark();
        final Object other$remark = other.getRemark();
        Label_0176: {
            if (this$remark == null) {
                if (other$remark == null) {
                    break Label_0176;
                }
            }
            else if (this$remark.equals(other$remark)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0213: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0213;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$updateTime = this.getUpdateTime();
        final Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null) {
            if (other$updateTime == null) {
                return true;
            }
        }
        else if (this$updateTime.equals(other$updateTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof CustomerVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $nickName = this.getNickName();
        result = result * 59 + (($nickName == null) ? 43 : $nickName.hashCode());
        final Object $openId = this.getOpenId();
        result = result * 59 + (($openId == null) ? 43 : $openId.hashCode());
        final Object $remark = this.getRemark();
        result = result * 59 + (($remark == null) ? 43 : $remark.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $updateTime = this.getUpdateTime();
        result = result * 59 + (($updateTime == null) ? 43 : $updateTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "CustomerVo(id=" + this.getId() + ", nickName=" + this.getNickName() + ", openId=" + this.getOpenId() + ", remark=" + this.getRemark() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ")";
    }
}
